<?php

namespace app\speedDating\interfaces;

interface ServiceCode
{
    /** @category 成功 */
    const SUCCESS = 20000;

    /** @category 账户异常 */
    const VALIDATE = 30000;
    const ERR_VALIDATE_MEMBER_EXIST = 31200;            //会员账户已存在
    const ERR_UNAUTHORIZED_PASSWORD_ERROR = 31201;      //会员账号或密码错误
    const ERR_UNAUTHORIZED_DISABLED = 31202;            //会员账号禁用
    const ERR_VALIDATE_MEMBER_NOT_EXIST = 31404;        //会员账号未注册或不存在

    const ERR_ACCOUNT_BALANCE_LOSE_DETAIL = 32119;      //资金账户余额不足
    const ERR_ACCOUNT_NOT_EXIST = 32404;                //资金账户异常,未查询到账户信息
    const ERR_ACCOUNT_BANNED = 32504;                   //资金账本已被冻结

    /** @category 授权异常 */
    const ERR_JWT = 40000;                              //JWT异常处理
    const ERR_JWT_EXPIRED = 40600;                      //JWT过期
    const ERR_JWT_PARSE = 40601;                        //JWT异常或无效


    /** @category 服务器内部错误 */
    const ERR_SERVER_ERROR = 50000;
    const ERR_SERVER_ERROR_EXECUTE = 50100;    //服务器内部错误：添加数据失败


}